package models

import "github.com/goravel/framework/database/orm"

type SysNotification struct {
	orm.Model
	Title       string `json:"title"`
	Type        int    `json:"type"`
	Status      int    `json:"status"`
	CreatorId   int64  `json:"creator_id"`
	CreatorName string `json:"creator_name"`
	Content     string `json:"content"`
}

func NewSysNotification() *SysNotification {
	return &SysNotification{}
}

func (SysNotification) TableName() string {
	return "sys_notification"
}
